JBoss Community Archive (Read Only)

Arquillian

Servlet 2.5

The Servlet 2.5 Protocol implementation is used by most EE5 compliant containers. It will attempt to add a war to the deployment.

Packaging rules

@Deployment

Output

Action

JavaArchive

EnterpriseArchive

Create a new EnterpriseArchive, add @Deployment and ServletProtocol as module, the other Auxiliary Archives as libraries.

WebArchive

WebArchive

If a web.xml is found, a Servlet will be added, else a web.xml will be added. The Servlet WebArchive will be merged with the Deployment and the Auxiliary Archives added as libraries.

EnterpriseArchive

EnterpriseArchive

Same as JavaArchive, but using the @Deployment defined EnterpriseArchive instead of creating a new.

Configuration

Protocol Configuration Options

Name

Type

Default

Description

host

String

none

Used to override the Deployments default hostname.

port

int

none

Used to override the Deployments default http port.

contextRoot

String

none

Used to override the Deployments default contextRoot.

JBoss.org Content Archive (Read Only), exported from JBoss Community Documentation Editor at 2020-03-10 09:41:43 UTC, last content change 2012-04-13 10:56:25 UTC.